package main

import "fmt"

func main() {
	a, b, c := 10, 20, 30
	fmt.Println("a=", a, ",b=", b, ",c=", c)
	fmt.Printf("a=%d,b=%d,c=%d \n", a, b, c) // 格式化输出的好处

	// 输入
	fmt.Println("please input a and b:")
	fmt.Scanf("%d", &a)
	fmt.Scan(&b)
	fmt.Printf("you input a is:%d, b is %d\n", a, b)
}
